package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Shop;

public interface ShopDAO {

	// property constants
	public static final String SNAME = "name";
	public static final String SNOTE = "note";
	public static final String SINFO = "info";
	public static final String SLOGO_URL = "logoUrl";
	public static final String SIS_LOCK = "isLock";
	public static final String SDOMAIN = "domain";

	public abstract void save(Shop transientInstance);

	public abstract void delete(Shop persistentInstance);

	public abstract Shop findById(java.lang.Integer id);

	public abstract List findByExample(Shop instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findBySname(Object sname);

	public abstract List findBySnote(Object snote);

	public abstract List findBySinfo(Object sinfo);

	public abstract List findBySlogoUrl(Object slogoUrl);

	public abstract List findBySisLock(Object sisLock);

	public abstract List findBySdomain(Object sdomain);

	public abstract List findAll();

}